@extends('admin.common.base-master')

@section('html-head')
    {{--<link href="{{url('/vendor/tyupload/control/css/zyUpload.css')}}" type="text/css" rel="stylesheet" />--}}
    {{--<link href="{{url('css/jquery.form.css')}}" type="text/css" rel="stylesheet" />--}}
    {{--<script src="{{url('/vendor/My97DatePicker/WdatePicker.js')}}"></script>--}}
    {{--<script src="{{url('/js/lib/jquery.form.js')}}"></script>--}}
@endsection

@section('html-body')
    <div id="content">
        <div id="cur-position">
            <span class="tit">职位管理</span>
            <a href="#">投递的简历信息</a>
            <em>&gt;</em>
            <a href="#">简历信息详情</a>
        </div>
        <!-- cur-position end -->

        <div class="gg-step2">

            <div class="list-wrap">
                <h2 class="head">
                    <span class="span1">个人信息</span>
                </h2>
                <!-- list-text-box start -->
                <div class="list-text-box">


                    <div class="list-text">
                        <label class="tit">姓名：</label>
                        <div class="cont">
                            <p class="text">@if($thisResume->user_info){{$thisResume->user_info->realname}} @endif</p>
                        </div>
                    </div>

                    <div class="list-text">
                        <label class="tit">头像：</label>
                        <div class="cont">
                            <img src="@if($thisResume->user_info && $thisResume->user_info->photo_url !== null){{$thisResume->user_info->photo_url}} @endif" style="width: 50px">
                        </div>
                    </div>

                    <div class="list-text">
                        <label class="tit">性别：</label>
                        <div class="cont">
                            <p class="text">
                                @if($thisResume->user_info && $thisResume->user_info->sex ==0)
                                    保密
                                @elseif($thisResume->user_info && $thisResume->user_info->sex ==1)
                                    男
                                @elseif($thisResume->user_info && $thisResume->user_info->sex ==2)
                                    女
                                @endif
                            </p>
                        </div>
                    </div>

                    <div class="list-text">
                        <label class="tit">年龄：</label>
                        <div class="cont">
                            <p class="text">@if($thisResume){{$thisResume->age}} @endif</p>
                        </div>
                    </div>

                    <div class="list-text">
                        <label class="tit">手机号码：</label>
                        <div class="cont">
                            <p class="text">@if($thisResume){{$thisResume->phone}} @endif</p>
                        </div>
                    </div>

                    <div class="list-text">
                        <label class="tit">微信：</label>
                        <div class="cont">
                            <p class="text">@if($thisResume){{$thisResume->wx}} @endif</p>
                        </div>
                    </div>


                    <div class="list-text">
                        <label class="tit">邮箱：</label>
                        <div class="cont">
                            <p class="text">@if($thisResume){{$thisResume->email}} @endif</p>
                        </div>
                    </div>


                    <div class="list-text">
                        <label class="tit">个人学历：</label>
                        <div class="cont">
                            <p class="text">@if($thisResume){{$thisResume->education}} @endif</p>
                        </div>
                    </div>

                    <div class="list-text">
                        <label class="tit">省份：</label>
                        <div class="cont">
                            <p class="text">@if($thisResume){{$thisResume->province}} @endif</p>

                        </div>
                    </div>


                    <div class="list-text">
                        <label class="tit">注册时间：</label>
                        <div class="cont">
                            <p class="text">@if($thisResume){{$thisResume->created_at}} @endif</p>

                        </div>
                    </div>
                </div>
                <!-- list-text-box end -->
            </div>
        </div>



        <div class="gg-step2">

            <div class="list-wrap">
                <h2 class="head">
                    <span class="span1">求职期望</span>
                </h2>


                {{--               <div class="list-text">
                                   <label class="tit">现住地址：</label>
                                   <div class="cont">
                                       <p class="text">@if($thisResume){{$thisResume->address_detail}} @endif</p>

                                   </div>
                               </div>--}}

                <div class="list-text">
                    <label class="tit">求职状态：</label>
                    <div class="cont">
                        <p class="text">@if($thisResume){{$thisResume->job_status}} @endif</p>
                    </div>
                </div>
                <div class="list-text">
                    <label class="tit">期望职位：</label>
                    <div class="cont">
                        <p class="text">@if($thisResume){{$thisResume->job_type}} @endif</p>

                    </div>
                </div>

                <div class="list-text">
                    <label class="tit">薪资类型：</label>
                    <div class="cont">
                        <p class="text">@if($thisResume){{$thisResume->expected_salary_type}} @endif</p>

                    </div>
                </div>

                <div class="list-text">
                    <label class="tit">期望薪资：</label>
                    <div class="cont">
                        <p class="text">@if($thisResume){{$thisResume->expected_salary}} @endif</p>
                    </div>
                </div>


                <div class="list-text">
                    <label class="tit">期望工作地区：</label>
                    <div class="cont">
                        <p class="text">@if($thisResume){{$thisResume->province}}{{$thisResume->city}}{{$thisResume->area}} @endif</p>

                    </div>
                </div>

                {{--    <div class="list-text">
                        <label class="tit">期望城市：</label>
                        <div class="cont">
                            <p class="text">@if($thisResume){{$thisResume->city}} @endif</p>

                        </div>
                    </div>

                    <div class="list-text">
                        <label class="tit">地区：</label>
                        <div class="cont">
                            <p class="text">@if($thisResume){{$thisResume->area}} @endif</p>
                        </div>
                    </div>--}}
            </div>





            <div class="gg-step2">
                @if(count($thisResume->edu)>0)
                    @foreach($thisResume->edu as $item)
                        <div class="list-wrap">
                            <h2 class="head">
                                <span class="span1">教育经验</span>
                            </h2>

                            <div class="list-text">
                                <label class="tit">学校名称：</label>
                                <div class="cont">
                                    <p class="text">@if($item){{$item->name}} @endif</p>

                                </div>
                            </div>

                            <div class="list-text">
                                <label class="tit">专业名称：</label>
                                <div class="cont">
                                    <p class="text">@if($item){{$item->professional_name}} @endif</p>

                                </div>
                            </div>

                            <div class="list-text">
                                <label class="tit">学历：</label>
                                <div class="cont">
                                    <p class="text">@if($item){{$item->education}} @endif</p>

                                </div>
                            </div>

                            <div class="list-text">
                                <label class="tit">开始时间：</label>
                                <div class="cont">
                                    <p class="text">@if($item){{$item->start_time}} @endif</p>

                                </div>
                            </div>

                            <div class="list-text">
                                <label class="tit">结束时间：</label>
                                <div class="cont">
                                    <p class="text">@if($item){{$item->end_time}} @endif</p>

                                </div>
                            </div>
                        </div>


                    @endforeach
                @endif
            </div>



            <div class="gg-step2">
                @if(count($thisResume->edu)>0)
                    @foreach($thisResume->edu as $item)
                        <div class="list-wrap">
                            <h2 class="head">
                                <span class="span1">工作经历 </span>
                            </h2>

                            <div class="list-text">
                                <label class="tit">公司名称：</label>
                                <div class="cont">
                                    <p class="text">@if($item){{$item->name}} @endif</p>

                                </div>
                            </div>

                            <div class="list-text">
                                <label class="tit">担任职务：</label>
                                <div class="cont">
                                    <p class="text">@if($item){{$item->job_title}} @endif</p>

                                </div>
                            </div>

                            <div class="list-text">
                                <label class="tit">描述：</label>
                                <div class="cont">
                                    <p class="text">@if($item){{$item->desc}} @endif</p>

                                </div>
                            </div>

                            <div class="list-text">
                                <label class="tit">开始时间：</label>
                                <div class="cont">
                                    <p class="text">@if($item){{$item->start_time}} @endif</p>

                                </div>
                            </div>

                            <div class="list-text">
                                <label class="tit">结束时间：</label>
                                <div class="cont">
                                    <p class="text">@if($item){{$item->end_time}} @endif</p>

                                </div>
                            </div>
                        </div>


                    @endforeach
                @endif
            </div>


            <div class="gg-step2">
                @if(count($thisResume->edu)>0)
                    @foreach($thisResume->edu as $item)
                        <div class="list-wrap">
                            <h2 class="head">
                                <span class="span1">工作经历 </span>
                            </h2>

                            <div class="list-text">
                                <label class="tit">公司名称：</label>
                                <div class="cont">
                                    <p class="text">@if($item){{$item->name}} @endif</p>

                                </div>
                            </div>

                            <div class="list-text">
                                <label class="tit">担任职务：</label>
                                <div class="cont">
                                    <p class="text">@if($item){{$item->job_title}} @endif</p>

                                </div>
                            </div>

                            <div class="list-text">
                                <label class="tit">描述：</label>
                                <div class="cont">
                                    <p class="text">@if($item){{$item->desc}} @endif</p>

                                </div>
                            </div>

                            <div class="list-text">
                                <label class="tit">开始时间：</label>
                                <div class="cont">
                                    <p class="text">@if($item){{$item->start_time}} @endif</p>

                                </div>
                            </div>

                            <div class="list-text">
                                <label class="tit">结束时间：</label>
                                <div class="cont">
                                    <p class="text">@if($item){{$item->end_time}} @endif</p>

                                </div>
                            </div>
                        </div>


                    @endforeach
                @endif

            </div>



            <div class="gg-step2">
                @if(count($thisResume->label)>0)

                    <div class="list-wrap">
                        <h2 class="head">
                            <span class="span1">个人标签 </span>
                        </h2>

                        @foreach($thisResume->label as $item)
                            <div class="list-text">
                                <label class="tit"></label>
                                <div class="cont">
                                    <p class="text">@if($item){{$item->name}}@endif</p>

                                </div>
                            </div>

                        @endforeach
                        @endif

                    </div>
            </div>



        </div>



    </div>
@endsection

